<html>
<head>
<title><?php echo $title;?></title>
<script type="text/javascript">
function press_back() { 
	window.location = "<?php echo base_url() ?>" + "index.php/nhapxe/nhapxe";
}
</script>
</head>
<body>
	Xin vui long kiem tra lai thong tin nhap: <br/>
	<?php echo 'Loai xe: '.$choosenItem ?> <br/>
	<?php echo 'Gia nhap: '.$gia_nhap ?> <br/>
	<?php echo 'Tong cong: '.$tong_cong ?> <br/>
	<?php echo 'Nguoi nhap:'.$nguoi_nhap?> <br/>
	<hr/>
	<?php echo 'So luong: '.$so_luong?> <br/>
	<?php
		for($i = 0 ; $i < $so_luong ; $i++) {
			echo 'SK: '.$sk["$i"]."  /  ".'SM: '.$sm["$i"]."<br/>";
		} 
	?>
	<?php 
	$hidden = array(
		'choosenItem' => $choosenItem,
		'gia_nhap' => $gia_nhap,
		'so_luong' => $so_luong,
		'so_khung' => $sk,
		'so_may' => $sm
	)?>
	<?php echo form_open('nhapxe/nhapxe/addXemay','',$hidden)?>
	<?php echo form_submit('submit_data','Hoan tat')?>
	<?php echo form_button('button_back','Quay lai','onClick="press_back()"')?>
	<?php echo form_close()?>
</body>
</html>